package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 力别表DTO
 * </p>
 *
 * @author LEO
 * @since 2019-12-13
 */
@Data
@ApiModel(value="ForceTypeDTO对象", description="力别表")
public class ForceTypeDTO extends BasicEntity {


    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "力别")
    private String name;

    @ApiModelProperty(value = "记件单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "状态：0新建,1审核不通过，2审核通过")
    private Integer status;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "所属组织机构")
    private String groupCode;

    @ApiModelProperty(value = "创建时间起始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreatedStart;

    @ApiModelProperty(value = "创建时间终止")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreatedEnd;

    @ApiModelProperty(value = "修改时间起始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModifiedStart;

    @ApiModelProperty(value = "修改时间终止")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModifiedEnd;
    @ApiModelProperty(value = "业务类型")
    private Integer businessType;
}
